// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Nodes
{
	public sealed partial class Client
	{
		[JsonInclude]
		[JsonPropertyName("agent")]
		public string? Agent { get; init; }

		[JsonInclude]
		[JsonPropertyName("closed_time_millis")]
		public long? ClosedTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("id")]
		public long? Id { get; init; }

		[JsonInclude]
		[JsonPropertyName("last_request_time_millis")]
		public long? LastRequestTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("last_uri")]
		public string? LastUri { get; init; }

		[JsonInclude]
		[JsonPropertyName("local_address")]
		public string? LocalAddress { get; init; }

		[JsonInclude]
		[JsonPropertyName("opened_time_millis")]
		public long? OpenedTimeMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("remote_address")]
		public string? RemoteAddress { get; init; }

		[JsonInclude]
		[JsonPropertyName("request_count")]
		public long? RequestCount { get; init; }

		[JsonInclude]
		[JsonPropertyName("request_size_bytes")]
		public long? RequestSizeBytes { get; init; }

		[JsonInclude]
		[JsonPropertyName("x_opaque_id")]
		public string? XOpaqueId { get; init; }
	}
}